package edu.hrbeu.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import edu.hrbeu.entity.Category;
import edu.hrbeu.mapper.CategoryMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.Map;
import java.util.function.Function;

/**
 * @author wzq
 * @create 2022-01-06-20:04
 */
@Service
public class CategoryService implements IService<Category> {

    @Autowired
    CategoryMapper categoryMapper;

    @Override
    public BaseMapper<Category> getBaseMapper() {
        return this.categoryMapper;
    }

    @Override
    public boolean saveBatch(Collection<Category> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdateBatch(Collection<Category> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean updateBatchById(Collection<Category> entityList, int batchSize) {
        return false;
    }

    @Override
    public boolean saveOrUpdate(Category entity) {
        return false;
    }

    @Override
    public Category getOne(Wrapper<Category> queryWrapper, boolean throwEx) {
        return null;
    }

    @Override
    public Map<String, Object> getMap(Wrapper<Category> queryWrapper) {
        return null;
    }

    @Override
    public <V> V getObj(Wrapper<Category> queryWrapper, Function<? super Object, V> mapper) {
        return null;
    }



    @Override
    public Class<Category> getEntityClass() {
        return null;
    }
}
